import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.*;

/**
 * I display a message on the screen
 * @author Hugo Armando Rodríguez Flores
 * @version April 26th 2013
 */
public class Mensaje extends Actor
{
    /**
     * @param aString is a string that is going to be displayed in the world
     */
    public Mensaje(String aString)
    {
        this.setImage(new GreenfootImage(""+aString, 25, Color.WHITE, Color.BLACK));
    }
    
    /**
     * param anInteger is a long integer that it is going to be displayed in the world
     */
    public Mensaje(long anInteger)
    {
        this.setImage(new GreenfootImage(""+anInteger, 25, Color.WHITE, Color.BLACK));
    }
    
    /**
     * @param aString is a string that is going to be displayed in the world
     * @param size is the size of the string it is going to be displayed
     */
    public Mensaje(String aString, int size)
    {
        this.setImage(new GreenfootImage(""+aString, size, Color.WHITE, Color.BLACK));
    }
}
